From ff31bdd334a55c33612f60b0a13ba74c8550dfb6 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Thu, 12 Oct 2017 14:22:04 +0200 Subject: [PATCH] testsuite: Fix gesture test inconsistencies due to legacy event handling Legacy GtkWidget vmethods are now handled on an event controller, which due to being the very first controller added to every widget, runs in a different order than the previously hardcoded. Probably testing legacy events is not really futurible, specially after we stop installing this legacy controller by default. I'll leave the choice to remove these specific tests for later though. --- testsuite/gtk/gestures.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/testsuite/gtk/gestures.c b/testsuite/gtk/gestures.c index d32fcf0842..4cfe5886b7 100644 --- a/testsuite/gtk/gestures.c +++ b/testsuite/gtk/gestures.c @@ -474,12 +474,12 @@ test_mixed (void) "capture b1, " "capture c1, " "target c2, " - "legacy C, " "bubble c3, " - "legacy B, " + "legacy C, " "bubble b3, " - "legacy A, " - "bubble a3"); + "legacy B, " + "bubble a3, " + "legacy A"); g_string_free (str, TRUE); @@ -531,8 +531,9 @@ test_early_exit (void) "capture b1, " "capture c1, " "target c2, " - "legacy C, " "bubble c3, " + "legacy C, " + "bubble b3, " "legacy B"); g_string_free (str, TRUE); -- 2.30.2